6. Ligolo-ng


Set up proxy:

  1. Set up interface:
sudo ip tuntap add user crabfeather mode tun ligolo
sudo ip link set ligolo up
  1. Run the proxy:
./linproxy -selfcert -laddr 0.0.0.0:443
  1. Connect agent:
./linagent -connect 192.168.45.X:443 -ignore-cert
  1. Add route:
sudo ip route add X.X.X.X/24 dev ligolo
  1. Enter session in proxy and run start!!!

Catch shells and transfer files:

  1. List listeners:
lister_list
  1. Add shell catcher to 4444:
listener_add --addr 0.0.0.0:5555 --to 127.0.0.1:4444
  1. Add file transferer:
listener_add --addr 0.0.0.0:6666 --to 127.0.0.1:80